import Style from './style.less';
import React from 'react';
import {withTheme} from 'material-ui/styles'


class Contacts extends React.Component {

  render() {

    const {
      theme
    } = this.props;

    console.log(`render <${this.constructor.name}>`);

    return (
      <div className={Style['wrap']}>
        <img src={require('images/react.svg')} alt="react"/>
        <a
          href="http://yuhenabc.com" target="_blank"
          style={{padding: 30, color: theme.palette.primary[900]}}
        >
          <span>联系我们</span>
        </a>
      </div>
    )
  }

}

export default withTheme()(Contacts);
